<?php
/* @var $this AmsController */
/* @var $model Ams */
/* @var $form CActiveForm */
$this->main_menu = MenuHelper::getArrayForMainMenu(false, false, false, true);
?>

<?php
//$this->menu = MenuHelper::getArrayForCoreDataMenu();
//$this->menu = MenuHelper::getArrayForCoreDataMenu();
$this->widget('bootstrap.widgets.TbTabs', array(
	'type'=>'tabs', // 'tabs' or 'pills'
	'tabs'=>MenuHelper::getArrayForCoreDataMenu(),
	));
?>

<?php /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id'=>'horizontalForm',
	'type'=>'horizontal',
)); ?>

<fieldset>
    <?php echo $form->textFieldRow($model, 'address'); ?>
    <?php echo $form->textFieldRow($model, 'postcode'); ?>
    <?php echo $form->textFieldRow($model, 'place'); ?>
</fieldset>

     
<div class="form-actions">
    <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary', 'label'=>'Speichern')); ?>
    <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'Zurücksetzen')); ?>
</div>
     
<?php $this->endWidget(); ?>